/*
 * Expression.java
 * 
 * last update: 16.01.2010 by Stefan Saru
 * 
 * author:	Alec(panovici@elcom.pub.ro)
 * 
 * Obs:
 */

package engine;

public abstract class Expression implements RightValue{

	NameSpace ns;
	int length;   //the length in bits of this expression

	public Expression(NameSpace ns){
		this.ns = ns;
	}

	public String toString(){
		return " expression ";
	}

	abstract void addMonitor(Monitor m);

	public boolean isLeftValue() {
		return this instanceof LeftValue;
	}
}








